<?php
namespace App\Request;

use App\Request\Request;

class ImagesRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'name'      => 'required',
            'keyword'   => 'required',
            'image'     => 'required',
            'data'      => 'required',
            'sort'      => 'required'
        ];
    }
}